using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;

namespace Sedna.Core.Controls.Support
{
    public interface IListControl : IDataBoundControl
    {
        String DataTextField { get; set; }
        //String DataTextFormatString { get; set; }
        String DataValueField { get; set; }

        ListItemCollection Items { get; }
        IList<ListItem> SelectedItems { get; }
        ListItem SelectedItem { get; }
        int SelectedIndex { get; }
        String SelectedValue { get; }
        IList<String> SelectedValues { get; }
    }
}
